﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FluentNHibernate.Mapping;
using MedicalCare.EntityDefinitions.Entities;

namespace MedicalCare.EntityMappings.EntityMaps
{
    //Champion 2013/1/5
  public class CityMapping:ClassMap<CityEntity>
    {
      public CityMapping()
      {
          Table("CityCode");
          Id(x => x.CityId).Column("CityID").Not.Nullable();
          Map(x => x.CityName).Column("CityName");
          Map(x => x.ProId).Column("ProID");
      }
    }
}
